From 8ecf7d04e1555d569455d2fa91ca6c711ee78a74 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 7 Oct 2008 17:41:46 +0000 Subject: [PATCH] =?utf8?q?Bug=20554950=20=E2=80=93=20gail=20must=20make=20?= =?utf8?q?itself=20resident?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 2008-10-07 Matthias Clasen Bug 554950 – gail must make itself resident * gail.c: Make the module resident, since it can't handle being unloaded. svn path=/trunk/; revision=21601 --- modules/other/gail/ChangeLog | 7 +++++++ modules/other/gail/gail.c | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/modules/other/gail/ChangeLog b/modules/other/gail/ChangeLog index 07282060af..19cb023fca 100644 --- a/modules/other/gail/ChangeLog +++ b/modules/other/gail/ChangeLog @@ -1,3 +1,10 @@ +2008-10-07 Matthias Clasen + + Bug 554950 – gail must make itself resident + + * gail.c: Make the module resident, since it can't handle + being unloaded. + 2008-09-22 Michael Natterer * tests/ferret.c: s/GTK_SIGNAL_FUNC/G_CALLBACK/ diff --git a/modules/other/gail/gail.c b/modules/other/gail/gail.c index 4b26b2eeff..ac27f0ba35 100644 --- a/modules/other/gail/gail.c +++ b/modules/other/gail/gail.c @@ -980,3 +980,12 @@ gtk_module_init (gint *argc, char** argv[]) return 0; } + +const char * +g_module_check_init (GModule *module) +{ + g_module_make_resident (module); + + return NULL; +} + -- 2.30.2